[INFO] fetching crate pgetopts 0.1.2...
[INFO] checking pgetopts-0.1.2 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate pgetopts 0.1.2 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate pgetopts 0.1.2 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pgetopts 0.1.2
[INFO] finished tweaking crates.io crate pgetopts 0.1.2
[INFO] tweaked toml for crates.io crate pgetopts 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ansi_term v0.6.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96774363ab1f0cd450daadd5524edc218d002b9dd7a024c7b807481541a04315
[INFO] running `Command { std: "docker" "start" "-a" "96774363ab1f0cd450daadd5524edc218d002b9dd7a024c7b807481541a04315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96774363ab1f0cd450daadd5524edc218d002b9dd7a024c7b807481541a04315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96774363ab1f0cd450daadd5524edc218d002b9dd7a024c7b807481541a04315", kill_on_drop: false }`
[INFO] [stdout] 96774363ab1f0cd450daadd5524edc218d002b9dd7a024c7b807481541a04315
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e98ddc61d223683f908ccde6089cd77e9acc10be4112b57189404f996a11efc
[INFO] running `Command { std: "docker" "start" "-a" "2e98ddc61d223683f908ccde6089cd77e9acc10be4112b57189404f996a11efc", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking ansi_term v0.6.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking pgetopts v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib test) due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2e98ddc61d223683f908ccde6089cd77e9acc10be4112b57189404f996a11efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e98ddc61d223683f908ccde6089cd77e9acc10be4112b57189404f996a11efc", kill_on_drop: false }`
[INFO] [stdout] 2e98ddc61d223683f908ccde6089cd77e9acc10be4112b57189404f996a11efc
[INFO] checking pgetopts-0.1.2 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate pgetopts 0.1.2 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate pgetopts 0.1.2 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pgetopts 0.1.2
[INFO] finished tweaking crates.io crate pgetopts 0.1.2
[INFO] tweaked toml for crates.io crate pgetopts 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 024d28125e8d9f3c4a45a7f47858a72f6f8ee78a035cd0474c9fd52b8ddaa242
[INFO] running `Command { std: "docker" "start" "-a" "024d28125e8d9f3c4a45a7f47858a72f6f8ee78a035cd0474c9fd52b8ddaa242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "024d28125e8d9f3c4a45a7f47858a72f6f8ee78a035cd0474c9fd52b8ddaa242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "024d28125e8d9f3c4a45a7f47858a72f6f8ee78a035cd0474c9fd52b8ddaa242", kill_on_drop: false }`
[INFO] [stdout] 024d28125e8d9f3c4a45a7f47858a72f6f8ee78a035cd0474c9fd52b8ddaa242
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f054214d04ad977bbd09c2951789e55aad3be07cbc8a825e1cd709ed3ac16f4
[INFO] running `Command { std: "docker" "start" "-a" "4f054214d04ad977bbd09c2951789e55aad3be07cbc8a825e1cd709ed3ac16f4", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking ansi_term v0.6.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking pgetopts v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:297:25
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let mut vals = (0 .. n_opts).map(f).collect::<Vec<_>>();
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     let tail = &cur[2..curlen];
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:364:50
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...                   i_arg = Some(cur[next..curlen].to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:412:18
[INFO] [stdout]     |
[INFO] [stdout] 412 |         for i in 0 .. n_opts {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:494:26
[INFO] [stdout]     |
[INFO] [stdout] 494 |                 for _ in 0 .. 24 - rowlen {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:934:43
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   &ss[last_start..i + 1]),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:936:32
[INFO] [stdout]     |
[INFO] [stdout] 936 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:946:32
[INFO] [stdout]     |
[INFO] [stdout] 946 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:955:32
[INFO] [stdout]     |
[INFO] [stdout] 955 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:962:32
[INFO] [stdout]     |
[INFO] [stdout] 962 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:297:25
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let mut vals = (0 .. n_opts).map(f).collect::<Vec<_>>();
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     let tail = &cur[2..curlen];
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:364:50
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...                   i_arg = Some(cur[next..curlen].to_string());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:412:18
[INFO] [stdout]     |
[INFO] [stdout] 412 |         for i in 0 .. n_opts {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:494:26
[INFO] [stdout]     |
[INFO] [stdout] 494 |                 for _ in 0 .. 24 - rowlen {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:934:43
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   &ss[last_start..i + 1]),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:936:32
[INFO] [stdout]     |
[INFO] [stdout] 936 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:946:32
[INFO] [stdout]     |
[INFO] [stdout] 946 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:955:32
[INFO] [stdout]     |
[INFO] [stdout] 955 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:962:32
[INFO] [stdout]     |
[INFO] [stdout] 962 |                 *cont = it(&ss[slice_start..last_end]);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib) due to 2 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib test) due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4f054214d04ad977bbd09c2951789e55aad3be07cbc8a825e1cd709ed3ac16f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f054214d04ad977bbd09c2951789e55aad3be07cbc8a825e1cd709ed3ac16f4", kill_on_drop: false }`
[INFO] [stdout] 4f054214d04ad977bbd09c2951789e55aad3be07cbc8a825e1cd709ed3ac16f4
